package com.zst.dollars.entity.msg;

import com.zst.dollars.entity.Message;
import com.zst.dollars.entity.MessageType;

public class ClientMsgRequestMessage extends Message {
    private long timestamp;
    private String message;
    private String clientToken;
    private String messageClientId;

    public ClientMsgRequestMessage(long timestamp, String message, String clientToken, String messageClientId){
        this.setMessageType(MessageType.CLIENT_MSG_REQUEST.getType());
        this.timestamp = timestamp;
        this.message = message;
        this.clientToken = clientToken;
        this.messageClientId = messageClientId;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getClientToken() {
        return clientToken;
    }

    public void setClientToken(String clientToken) {
        this.clientToken = clientToken;
    }

    public String getMessageClientId() {
        return messageClientId;
    }

    public void setMessageClientId(String messageClientId) {
        this.messageClientId = messageClientId;
    }
}
